home *** CD-ROM | disk | FTP | other *** search
/ Directorty Opus 5 - Magellan 2 / Opus 5 - Magellan 2.iso / Extras / DOPbt3 / 3 / ID-read.txt < prev    next >
Text File  |  1996-06-13  |  3KB  |  66 lines

  1. ##
  2. ## $VER: OPUS.FILE_ID.diz shit.txt 1.0
  3. ##
  4.  
  5. Again I come to file_id.diz thingies :-)
  6.  
  7. Start your configer for dopus, and go to filetypes. Pick (for example)
  8. lha.archive. In the event list choose USER2, and enter the following:
  9.  
  10. AmigaDOS    C:LHA x {fu} FILE_ID.DIZ ram: >nil:
  11. AmigaDOS    C:ECHO >>ram:FILE_ID.DIZ ""
  12. AmigaDOS    C:TYPE ram:FILE_ID.DIZ
  13. AmigaDOS    C:DELETE ram:FILE_ID.DIZ >nil:
  14.  
  15. Tick OUTPUT TO FILE as flag, and set CLOSE DELAY to -1.
  16.  
  17. Now make a button labeled ID.DIZ. Enter Command     User2 as an entry,
  18. and set DO ALL FILES flag. Close delay should be -1...
  19.  
  20. Return to opus, pick an LHA archive (with a file_id.diz in it), click on
  21. show id, and voila... There it is...
  22.  
  23. MAGIC !
  24.  
  25. Return to filetypes, pick (example) DMS archive, and enter in EVENT USER
  26. 2 this:
  27.  
  28. AmigaDOS    C:DMSDESCRIPT x ram:FILE_ID {fu} >nil:
  29. AmigaDOS    C:ECHO >>ram:FILE_ID ""
  30. AmigaDOS    C:TYPE ram:FILE_ID
  31. AmigaDOS    C:DELETE ram:FILE_ID >nil:
  32.  
  33. set OUTPUT TO FILE as a flag, en close delay to -1.
  34.  
  35. Back to OPUS, pick a dms.archive, click on button created with LHA
  36. (ID.diz ?), and again...VOILA ! There is your file-id...
  37.  
  38.  
  39. You can edit USER2 for any archive that supports the unpacking of a
  40. specific name (see their doc-files), and read file_id.diz on that file
  41. with the same button !!
  42. AS LONG AS YOU ADD THE CORRECT COMMAND TO USER2 IN THE FILETYPES !
  43.  
  44. Let me know what you think, and if you use it (and why not...?).
  45.  
  46.  
  47.        ·······························································
  48.        .#.####..............................................####.#..#.
  49.        ##.#..#........._______....______......_______.......#..#.#..#.
  50.        .#.####......../      /....|     \.....\      .......####.####.
  51.        .#....#......./______/.....|______|.....\      .........#....#.
  52.        .#.####....../      /......|      |......\      .....####....#.
  53.        ............/....../.......|_____/........\_______.............
  54.        ...............................................................
  55.        .............ABC, THE CUTEST LAMER IN THE BUSINESS.............
  56.        .                                                             .
  57.        .                   Niels van \X/illigenburg                  .
  58.        .______                 Millingenhof 123                ______.
  59.        /      \             NL-1106 KH   AMSTERDAM            /      \
  60.        | O  O |                  Netherlands                  | O  O |
  61.        |  /\  |                    Europe                     |  /\  |
  62.        | \__/ |               +31 (0)20-6979932               | \__/ |
  63.        .\____/               FIDO -> 2:280/464.17              \____/.
  64.        .                          -> niels@aobh.xs4all.nl            .
  65.        ·······························································
  66.